home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d17 / cardptr.arc / CATALOG.BAT < prev    next >
DOS Batch File  |  1988-10-16  |  4KB  |  140 lines

  1. echo off
  2. REM  function key batch file from Shar Feldheim
  3. REM  21:53:53  1/30/1988
  4. cursoff
  5. goto start
  6. :start
  7. cls
  8. echo 
  9. echo               ╔══════════════════════════════════════╗
  10. echo               ║     Disk-Count Software, Inc.        ║
  11. echo               ║                                      ║
  12. echo               ║   Product Catalog and order forms    ║
  13. echo               ╚══════════════════════════════════════╝
  14. echo 
  15. echo               Type the Function key for your choice:
  16. echo 
  17. echo                   F1 Print the Product Catalog.
  18. echo                   F2 Print the order form only.
  19. echo                   F3 Display the Catalog on screen.
  20. echo                   F4 Help for DOS beginners.
  21. echo 
  22. echo                   F5 Returns to DOS
  23. :reply
  24. reply
  25. if errorlevel 64 goto start
  26. if errorlevel 63 goto end
  27. if errorlevel 62 goto doshelp
  28. if errorlevel 61 goto showcat
  29. if errorlevel 60 goto printfrm
  30. if errorlevel 59 goto printcat
  31. goto reply
  32.  
  33. :printcat
  34. echo 
  35. echo          Make sure your printer is turned on, then
  36. pause
  37. echo 
  38. echo          Printing the Disk-Count Software Product Catalog!
  39. type catalog.txt>prn
  40. goto start
  41.  
  42. :printfrm
  43. echo 
  44. echo          Make sure your printer is turned on, then
  45. pause
  46. echo 
  47. echo          Printing the Disk-Count Software Ordering Information
  48. type product.txt>prn
  49. goto start
  50.  
  51. :showcat
  52. echo 
  53. echo          Stop and start the display with Ctrl-S
  54. pause
  55. type catalog.txt
  56. goto start
  57.  
  58. :doshelp
  59. cls
  60. echo 
  61. echo               ╔══════════════════════════════════════╗
  62. echo               ║     Disk-Count Software, Inc.        ║
  63. echo               ║                                      ║
  64. echo               ║    DOS help for beginning users      ║
  65. echo               ╚══════════════════════════════════════╝
  66. echo 
  67. echo               Type the Function key for your choice:
  68. echo 
  69. echo                   F1 AUTOEXEC.BAT starts a program
  70. echo                   F2 Built-in DOS commands
  71. echo                   F3 CONFIG.SYS customizes DOS
  72. echo                   F4 Promotional message
  73. echo 
  74. echo                   F5 Returns to DOS (any key for catalog menu)
  75. reply
  76. if errorlevel 64 goto start
  77. if errorlevel 63 goto end
  78. if errorlevel 62 goto message
  79. if errorlevel 61 goto config
  80. if errorlevel 60 goto builtin
  81. if errorlevel 59 goto autoexec
  82. goto doshelp
  83.  
  84. :message
  85. echo 
  86. echo          Get the lowdown on what DOS can do with the
  87. echo              "On-Screen DOS Assistant"
  88. echo          Just type "HELP" and the Assistant is there
  89. echo          to explain many DOS command.
  90. echo             In the catalog on page 5!
  91. echo 
  92. echo 
  93. pause
  94. goto doshelp
  95.  
  96. :config
  97. echo 
  98. echo     CONFIG.SYS is a file that you write. DOS reads it each time
  99. echo     you start your computer. Many programs won't run without it.
  100. echo     Type:"   A>COPY CON CONFIG.SYS (press ENTER after each line)"
  101. echo               FILES=20
  102. echo               BUFFERS=20
  103. echo               DEVICE=ANSI.SYS
  104. echo               ^Z             (press the F6 key, then ENTER)
  105. echo 
  106. pause
  107. goto doshelp
  108.  
  109. :builtin
  110. echo 
  111. echo     DOS has many built-in commands that you will use frequently.
  112. echo     Here are a couple that you find in "On-Screen DOS Assistant".
  113. echo          CLS                   -clears the computer screen
  114. echo          DIR                   -displays the files on the disk
  115. echo          TYPE "filename"       -prints the 'file' on the screen
  116. echo          REN "thisfile" "thatfile" -changes the name of a file
  117. echo 
  118. pause
  119. goto doshelp
  120.  
  121. :autoexec
  122. echo 
  123. echo     DOS looks for a file called AUTOEXEC.BAT when you start the
  124. echo     computer. This file contains commands which are AUTOmatically
  125. echo     EXECuted (carried out) after DOS has been loaded. The commands
  126. echo     often clear the screen and start a program on the disk.
  127. echo 
  128. echo     Type this(no quotes): "A>TYPE AUTOEXEC.BAT" -see what one looks like.
  129. echo 
  130. pause
  131. goto doshelp
  132.  
  133. :end
  134. cls
  135. curson
  136. prompt $P$G
  137. echo       Your new prompt line courtesy of Disk-Count Software.
  138. echo       It tells you the drive and sub-directory path "A:\>"
  139.  
  140.